<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/WEB-INF/jsp/common/fadeout.jsp"></jsp:include>
<input type="hidden" name="customerNo" value="${customer_no}"/>
<div id="local_order" class="easyui-layout" data-options='fit:true'> 
	<div id="detail_layout" class="easyui-layout" data-options="fit:true" style="width:600px;height:400px;">   
    	<div data-options="region:'center',title:'订单信息',split:'false'" >
    		<table id="local_detail_datagrid">
    		</table>
    	</div>
    </div>
</div>
<script>
$(function(){
	$("#local_detail_datagrid").datagrid({    
	    url:'admin/deliver/detail.do?customer_no='+$("input[name='customerNo']").val(), 
	    loadMsg:'数据加载中···',
	    fit:'true',
	    idField:'id',
	    pagination:true,
	    rownumbers:true,//行号  
	    checkOnSelect : true,
		selectOnCheck : true,
	    columns:[[
		{
			field : "id",
			hidden : true
		},     
	    {
			field:'customer_no',
			title:'客户编号',
			width:200,
			align:'center'
	    },    
	    {
	    	field:'order_no',
	    	title:'订单编号',
	    	width:200,
	    	align:'center'
	     },
	     {
	    	 field:'business_type',
	    	 title:'订单业务类型',
	    	 width:170,
	    	 align:'center'
	    },{
   	    	field:'create_tm',
   	    	title:'下单时间',
   	    	width:200,
   	    	align:'center',
   	        formatter: function(value,row,index){
   	        	return getTime(value);
   	        }
	     }
	    ]],
	    fitColumns:true
	});  	
});
</script>